﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>

</title>

<style type="text/css">
    .Fonte_Titulo_Negrito
    {
        font-family: "Helvetica Neue" , Arial, Sans-Serif;
        font-size: 18px;
        font-weight: bold;
        color: #113578;
        font-style: italic;
    }
    
        .Fonte_menu
    {
        font-family: "Helvetica Neue" , Arial, Sans-Serif;
        font-size: 18px;
        font-weight: bold;
        color: #113578;
       
    }
    
    .suJanela
    {
        background-color: #EBEBEB;
        text-align: center;
        border-radius: 10px;
        padding: 5px;
    }
    
    .suJanelaInterna
    {
        background-color: white;
        padding: 10px;
        border-radius: 10px;
        margin-bottom: 10px;
        text-align: left;
    }
    
    .Fonte_Formulario_Obrigatorio
{
    font-family: "Helvetica Neue" , Arial, Sans-Serif;
    font-size: 12px;
    font-weight: bold;  
    color: #113578;  
}

.Fonte_Formulario_Normal
{
    font-family: "Helvetica Neue" , Arial, Sans-Serif;
    font-size: 12px;
    color: Black;   
}
.Fonte_Formulario_Negrito
{
    font-family: "Helvetica Neue" , Arial, Sans-Serif;
    font-size: 12px;
    font-weight: bold; 
    color: Black;   
}

.classeErro
{
    position: fixed;
    top: 50%;
    left: 50%;
    width: 400px;
    padding: 10px;
    border: 1px solid red;
    border-image: initial;
    background-color: #FFD5D5;
    margin-left: -200px;
    margin-right: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
    z-index:2;
    }

    .ClasseBackErro
     {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        background-color: white;
        opacity: 0.80;
        filter: alpha(opacity=80);
        z-index: 1;
    }

     .Borda1px_D9D9D9
        {
            border-style: solid;
            border-width: 1px;
            border-color: #d9d9d9;
        }
        
        .celula
        {
            display: table-cell;
            padding-right: 10px;
        }

</style>

<style type="text/css">
	
	#M_Usuarios img.icon { border-style:none;vertical-align:middle; }
	#M_Usuarios img.separator { border-style:none;display:block; }
	#M_Usuarios img.horizontal-separator { border-style:none;vertical-align:middle; }
	#M_Usuarios ul { list-style:none;margin:0;padding:0;width:auto; }
	#M_Usuarios ul.dynamic { background-color:#F8F8F8;z-index:1; }
	#M_Usuarios a { color:Black;text-decoration:none;white-space:nowrap;display:block; }
	#M_Usuarios a.static { padding:2px 5px 2px 5px;color:#113578;font-weight:bold;text-decoration:none;border-style:none; }
	#M_Usuarios a.popout { background-image:url("/WebSite1/WebResource.axd?d=vnHcnaHUH_OFcn7skkXdA8UJzQ3j0MhW2XNM8b7OVnVovh0rcKdOBP5wt_L7PiZOvV3c9vbsyDHrjux6J4NwNMj6sHof3u1J66o9AF0VgKM1&t=634773882900000000");background-repeat:no-repeat;background-position:right center;padding-right:14px; }
	#M_Usuarios a.dynamic { padding:0px 0px 0px 0px;text-decoration:none; }
	#M_Usuarios a.dynamic.selected { background-color:#5D7B9D;text-decoration:none; }
	#M_Usuarios a.static.highlighted { background-color:#F0F0F0; }
	#M_Usuarios a.dynamic.highlighted { background-color:#CCCCCC; }
	
</style><style type="text/css"></style></head>
<body>
      <form method="post" action="@{visualizarTripulacao.inserir()}" id="form1">
<!--<div class="aspNetHidden">
<input type="hidden" name="ContentPlaceHolder1_qwe_HiddenField" id="ContentPlaceHolder1_qwe_HiddenField" value="">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTE2Nzc5NTY5MjEPZBYCZg9kFgICAw9kFgYCAQ8PFgIeCEltYWdlVXJsBRl+L3VwbG9hZC9Gb3RvX1VzdWFyaW8ucG5nZGQCBA88KwANAQwUKwAEBQswOjAsMDoxLDA6MhQrAAIWBB4EVGV4dAUJUHJpbmNpcGFsHgtOYXZpZ2F0ZVVybGVkFCsAAhYEHwEFCVVzdcOhcmlvcx8CZRQrAAMFBzA6MCwwOjEUKwACFgQfAQUHSW5zZXJpch8CBSV+L3Npc3RlbWEvdXN1YXJpby9pbnNlcmlydXN1YXJpby5hc3B4ZBQrAAIWBB8BBQpWaXN1YWxpemFyHwJlZBQrAAIWBB8BBQZCYXJjb3MfAmUUKwAEBQswOjAsMDoxLDA6MhQrAAIWBB8BBQdJbnNlcmlyHwIFIX4vc2lzdGVtYS9iYXJjby9pbnNlcmlyYmFyY28uYXNweGQUKwACFgQfAQUKVmlzdWFsaXphch8CZWQUKwACFgQfAQUHQ2xhc3Nlcx8CBSl+L3Npc3RlbWEvYmFyY28vY2xhc3NlL2luc2VyaXJjbGFzc2UuYXNweGQWCmYPZBYCAgEPDxYCHwEFB0luc2VyaXJkZAIBD2QWAgIBDw8WAh8BBQpWaXN1YWxpemFyZGQCAg9kFgICAQ8PFgIfAQUHSW5zZXJpcmRkAgMPZBYCAgEPDxYCHwEFClZpc3VhbGl6YXJkZAIED2QWAgIBDw8WAh8BBQdDbGFzc2VzZGQCBg9kFgQCDw8QDxYCHgtfIURhdGFCb3VuZGdkEBUCD0FsZXhhbmRyZSBUYXNjYQVFbGRlchUCATEBMhQrAwJnZ2RkAhEPEA8WAh8DZ2QQFQIPQWxleGFuZHJlIFRhc2NhBUVsZGVyFQIBMQEyFCsDAmdnZGRk8JG6j/4AU24hZhHJfPNGOToW6yx/ct4cG2xvctX2sIs=">
</div>-->

<script type="text/javascript">

    function abrirOpcoes(div) {

        document.getElementById(div).style.display = "block";

    }

    function fecharOpcoes(div) {

        document.getElementById(div).style.display = "none";

    }

</script>


<script src="./inserirUsuario_files/WebResource.axd" type="text/javascript"></script>


<script src="./inserirUsuario_files/ScriptResource.axd" type="text/javascript"></script>
<script src="./inserirUsuario_files/ScriptResource(1).axd" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
</script>

<script src="./inserirUsuario_files/ScriptResource(2).axd" type="text/javascript"></script>
<div class="aspNetHidden">


<input name="idbarco"  type="hidden" value="${idbarco}"  style="width: 200px;">
                                     

</div>
    <div>
        <div>
            <!--table align="center" cellpadding="0" cellspacing="0" width="1000px">
                <tbody>
                    <tr>
                        <td>
                            <div style="background-image: url(&#39;../../upload/LogoBack.png&#39;); height: 150px;">
                                <table cellpadding="0" cellspacing="0" width="100%">
                                    <tbody>
                                        <tr>
                                            <td height="138px" width="138px">
                                                <a id="ctl00_Image1" href="http://localhost:10128/WebSite1/sistema/usuario/Principal.aspx">
                                                    <img src="http://www.shannonrose.com/blog/wp-content/uploads/2009/05/regatta-logo.jpg" alt="" style="border-width: 0px; width: 200px;"></a>
                                            </td>
                                            <td align="right" valign="top">
                                                <div>
                                                    <div style="direction: rtl">
                                                        <div style="display: table-cell; vertical-align: middle;">
                                                            <a id="ctl00_Menu_Cima1_LB_Sair" class="Fonte_Master_Cabecalho">Sair</a>
                                                        </div>
                                                        <div style="display: table-cell; vertical-align: middle; padding-right: 5px;">
                                                            <a id="ctl00_Menu_Cima1_HL_Login" class="Fonte_Master_Cabecalho">| Usuário</a>
                                                        </div>
                                                    </div>
                                                    <div style="position: relative; float: right;">
                                                        <div style="display: table-cell; vertical-align: middle; height: 145px;">
                                                            <div class="Div_Quebra_Linha" style="position: static; float: right; margin-top: -3px;">
                                                                <div>
                                                                    <div class="Vazada_Left" style="float: left;">
                                                                    </div>
                                                                    <div class="Vazada_Right" style="position: static; float: right;">
                                                                    </div>
                                                                    <div class="Borda_Vazada">
                                                                    </div>
                                                                </div>
                                                                <div class="Borda_1px_Transparente_Inserir_Bottom" align="center" style="border-color: #eaeaea;">
                                                                <img id="IM_Cadastro" src="./inserirUsuario_files/Foto_Usuario.png">
                                                                </div>
                                                                <div>
                                                                    <div class="Vazada_Left_Bottom" style="float: left;">
                                                                    </div>
                                                                    <div class="Vazada_Right_Bottom" style="position: static; float: right;">
                                                                    </div>
                                                                    <div class="Borda_Vazada_Bottom">
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="Cadastro_Reset">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table-->
        <!--/div>
        <div style="padding:5px;"></div>
        <div style="background-color: #EAEAEA; height: 1px;"></div>

        <div   align="center" >

        <div width="1000px" style="width:1000px; text-align:left;" >

            <div style="display:table-cell; padding-right:15px;" >
                 <a class="Fonte_menu"  href="http://localhost:9000/bemvindo/bemvindo"  >Principal</a>
                
            </div>
           
            <div style="display:table-cell; padding-right:15px;"  onmouseout="fecharOpcoes('divOpUsuario');" 

onmouseover="abrirOpcoes( 'divOpUsuario' );">
                <span class="Fonte_menu"  >usuários</span>
                  <div id="divOpUsuario" style="position:absolute; display:none; background-color:White;" >
                 
                 <div>
                 <a class="Fonte_Formulario_Obrigatorio"  href="http://localhost:9000/inserirusuario/inserirusuario"  

>Inserir</a>
                 </div>

                 <div>
                  <a class="Fonte_Formulario_Obrigatorio"  href="http://localhost:9000/visualizarusuarios/visualizarusuarios"  

>Visualizar</a>
                
                 </div>
                 </div>
            </div>
        
            <div style="display:table-cell; padding-right:15px;" onmouseout="fecharOpcoes('divOpBarco');" 

onmouseover="abrirOpcoes( 'divOpBarco' );" >
                <span class="Fonte_menu"  >barcos</span>
                 <div id="divOpBarco" style="position:absolute;  display:none; background-color:White;" >
                 
                 <div>
                 <a class="Fonte_Formulario_Obrigatorio"  href="http://localhost:9000/inserirbarco/inserirbarco"  >Inserir</a>   

             
                 </div>
                 
                 <div>
                  <a class="Fonte_Formulario_Obrigatorio"  href="http://localhost:9000/visualizarbarcos/visualizarbarcos"  

>Visualizar</a>                
                 </div>
                 </div>
            </div>
 	<div style="display:table-cell; padding-right:15px;" onmouseout="fecharOpcoes('divOpClasse');" onmouseover="abrirOpcoes( 

'divOpClasse' );" >
                <span class="Fonte_menu"  >classes</span>
                 <div id="divOpClasse" style="position:absolute;  display:none; background-color:White;" >
                 
                 <div>
                 <a class="Fonte_Formulario_Obrigatorio"  href="http://localhost:9000/inserirclasse/inserirclasse"  >Inserir</a> 

               
                 </div>
                 
                 <div>
                  <a class="Fonte_Formulario_Obrigatorio"  href="http://localhost:9000/visualizarclasses/visualizarclasses"  

>Visualizar</a>                
                 </div>
                 </div>
            </div>

        </div>

        </div>
        <div style="background-color: #EAEAEA; height: 1px;"></div>
        <div style="padding:5px;"></div>

    </div-->
    <div>
        <table align="center" cellpadding="0" cellspacing="0" width="1000px">
            <tbody><tr>
                <td valign="top">
                    

    <script type="text/javascript">

</script>

    <div align="center">
    
    
       
    <div style="border-radius: 10px; background-color: White; padding: 10px;">
        	<div id="Div_Borda_Eventos" class="suJanela">
            	<div class="suDivTitulo">
                	<div style="padding:5px;" >
                    	<span class="LtituloAbaB"> Barco </span>
                	</div>
            	</div>
            	<div id="Div_conteudo_Eventos" class="suJanelaInterna" style="">
            	
            		<div style="padding:5px;">
				
				<div style="width:700px;" class="celula" >
			<div style="padding:5px;">
				<div class="celula">
					<span class="Fonte_Formulario_Negrito">nome: </span>
					<span>${barco.nome}</span>
				</div>
				<div class="celula">
					<span class="Fonte_Formulario_Negrito">Número: </span>
					<span>${barco.numero}</span>
				</div>				
				<div class="celula">
					<span class="Fonte_Formulario_Negrito">Modelo: </span>
					<span>${barco.modelo}</span>
				</div>

			</div>
			<div style="padding:5px;">
				<div class="celula">
					<span class="Fonte_Formulario_Negrito">Cor do casco: </span>
					<span>${barco.corcasco}</span>
				</div>
				<div class="celula">
					<span class="Fonte_Formulario_Negrito">Cor da vela: </span>
					<span>${barco.corvela}</span>
				</div>
				<div class="celula">
					<span class="Fonte_Formulario_Negrito">Classe: </span>
					<span>${barco.nomeclasse}</span>
				</div>
			</div>
			<div style="padding:5px;">
				<div class="celula">
					<span class="Fonte_Formulario_Negrito">Timoneiro: </span>
					<span>${barco.nometimoneiro}</span>
				</div>			
			</div>
		</div>
		
		<div style="background-color: #EAEAEA; height: 1px;"></div>
		
		<div>
		<div style="padding: 5px;" class="celula" >
        	Inserir novo tripulante: 
		</div>
		<div style="padding: 5px;" class="celula" >
        	<select name="tripulante" style="min-width:200px;" >
				#{list items:tripulantesdisponiveis, as:'m'}
					<option value="${m.id}">${m.nome}</option>
				#{/list}
			</select>
        </div>
				
		<div align="center">
			<input type="submit" name="" value="Inserir">
		</div>
		</div>
		</div>
        </div>
    	</div>
    	</div>
    
    
    
    
    
    
    
<div style="border-radius: 10px; background-color: White; padding: 10px;">
        <div id="Div_Borda_Eventos" class="suJanela">
            <div class="suDivTitulo">
                <div>
                    <span class="LtituloAbaB">${tripulantes.size()} Tripulante(s) </span>
                </div>
            </div>
            <div id="Div_conteudo_Eventos" class="suJanelaInterna" style="">

#{list items:tripulantes, as:'m'}
<table class="Fonte_01" cellspacing="0" cellpadding="5" border="0" style="width:100%;border-collapse:collapse;"><tbody>
<tr class="Borda1px_D9D9D9" style="color:Black;background-color:#F9F9F9;font-weight:normal;">
	<td>
		<div style="width:700px;" class="celula">
			<div style="padding:5px;">
				<div class="celula">
					<span class="Fonte_Formulario_Negrito">nome: </span>
					<span>${m.nome}</span>
				</div>
				<div class="celula">
					<span class="Fonte_Formulario_Negrito">cpf: </span>
					<span>${m.cpf}</span>
				</div>
				<div class="celula">
					<span class="Fonte_Formulario_Negrito">Data de nascimento: </span>
					<span>${m.datanascimento}</span>
				</div>
				
			</div>
			
			<div style="padding:5px;">
			
			<div class="celula">
					<span class="Fonte_Formulario_Negrito">Habilitação: </span>
					<span>${m.nomehabilitacao}</span>
				</div>
				
				<div class="celula">
					<span class="Fonte_Formulario_Negrito">Tipo: </span>
					<span>${m.nometipo}</span>
				</div>
			
			</div>
		</div>
		<div class="celula">
	
		</div>
	</td>
</tr>
</tbody></table>
#{/list}
    
     </div>
            </div>
        </div>
        
        
    </div>

   <!-- <div id="Div_BackErros" class="ClasseBackErro" style="display:none"></div>

    <div id="Div_Erros" class="classeErro" style="display: none;">
        <div>
            <div style="display: table-cell; vertical-align: top;">
                <img alt="" src="./inserirUsuario_files/Erro.png">
            </div>
            <div style="display: table-cell; vertical-align: top;">
                <div>
                    <span class="Fonte_Formulario_Negrito" style="color: Red;">Ops... Erros foram encontrados.
                        Segue abaixo o relatório:</span>
                </div>
                <div>
                <span id="L_Erros" class="Fonte_Formulario_Normal" style="color: Red;">Falha ao carregar erros.</span>
                </div>
            </div>
        </div>
        <div align="center">
            <input type="submit" name="BT_Fechar_Erros" value="Fechar" id="ContentPlaceHolder1_BT_Fechar_Erros" style="width:85px;">
        </div>
    </div>-->













                </td>
            </tr>
        </tbody></table>
    </div>

    <div style="padding:5px;"></div>
        <div style="background-color: #EAEAEA; height: 1px;"></div>

       

        <div style="padding: 15px 0px 15px 0px; text-align:center;">
        <span class="FontePrata" style="color:Silver;">Universidade Federal do Rio Grande do Norte<br>Rua tal , numero tal; bairro al; cep tal.
        <br>E-mail: ufrn@email.com.br<br>
        </span>
        </div>

         <div style="padding:5px;"></div>
        <div style="background-color: #EAEAEA; height: 1px;"></div>
        <div style="padding:5px;"></div>


         <div style="padding: 15px 0px 15px 0px; text-align:center;">
        <span class="FontePrata" style="color:Silver;">Desenvolvido por: Elderxander Sistemas WEB</span>
        </div>

    

<script type="text/javascript">
//<![CDATA[
(function() {var fn = function() {$get("ContentPlaceHolder1_qwe_HiddenField").value = '';Sys.Application.remove_init(fn);};Sys.Application.add_init(fn);})();//]]>
</script>
<script type="text/javascript">new Sys.WebForms.Menu({ element: 'M_Usuarios', disappearAfter: 500, orientation: 'horizontal', tabIndex: 0, disabled: false });</script></form>


</body></html>
